package com.rain.example.verifyPermissions.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rain.example.verifyPermissions.models.user.Menu;
import com.rain.example.verifyPermissions.models.user.User;
import com.rain.example.verifyPermissions.models.user.UserRole;

import java.util.List;

public interface UserService extends IService<User> {
    User loadUserByUsername(String username);

    List<UserRole> listUserRoleByUserId(String userId);

    List<Menu> listMenuByUserId(String userId);
}
